package com.sh.Enum.One;

import lombok.Getter;

@Getter
public enum ProtocolMessageStatusEnum {

    OK("OK", 20),
    BAD_REQUEST("badRequest", 40),
    BAD_RESPONSE("badResponse", 50);

    private final String text;

    private final int value;

    ProtocolMessageStatusEnum(String text, int value) {
        this.text = text;
        this.value = value;
    }

}